package com.ncu.weatherchina;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class WeatherInfo implements Serializable {
    private String city;
    private String update_time;
    private String current_wind_force;
    private String current_wind_dir;
    private String sun_set;
    private String sun_down;
    private String current_temp;
    private String current_humidity;
    private String current_aqi;
    private String current_pm25;
    private String air_quality;
    List<WeatherForecast> forecastList;
    List<WeatherIndex> indexlist;
    public List<WeatherIndex> getIndexlist() {
        return indexlist;
    }

    public void setIndexlist(WeatherIndex list) {
        indexlist.add(list);
    }
    public WeatherInfo() {
        forecastList = new ArrayList<WeatherForecast>();
        indexlist = new ArrayList<WeatherIndex>();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getCurrent_wind_force() {
        return current_wind_force;
    }

    public void setCurrent_wind_force(String current_wind_force) {
        this.current_wind_force = current_wind_force;
    }

    public String getCurrent_wind_dir() {
        return current_wind_dir;
    }

    public void setCurrent_wind_dir(String current_wind_dir) {
        this.current_wind_dir = current_wind_dir;
    }

    public String getSun_set() {
        return sun_set;
    }

    public void setSun_set(String sun_set) {
        this.sun_set = sun_set;
    }

    public String getSun_down() {
        return sun_down;
    }

    public void setSun_down(String sun_down) {
        this.sun_down = sun_down;
    }

    public String getCurrent_temp() {
        return current_temp;
    }

    public void setCurrent_temp(String current_temp) {
        this.current_temp = current_temp;
    }

    public String getCurrent_humidity() {
        return current_humidity;
    }

    public void setCurrent_humidity(String current_humidity) {
        this.current_humidity = current_humidity;
    }

    public String getCurrent_aqi() {
        return current_aqi;
    }

    public void setCurrent_aqi(String current_aqi) {
        this.current_aqi = current_aqi;
    }

    public String getCurrent_pm25() {
        return current_pm25;
    }

    public void setCurrent_pm25(String current_pm25) {
        this.current_pm25 = current_pm25;
    }

    public String getAir_quality() {
        return air_quality;
    }

    public void setAir_quality(String air_quality) {
        this.air_quality = air_quality;
    }

    public void setForecastInfo(WeatherForecast forecast_info) {
        forecastList.add(forecast_info);
    }

    public List<WeatherForecast> getForecastInfoList() {
        return forecastList;
    }
}